/*    */ package my.rummyInterface;
/*    */ 
/*    */ import java.awt.Color;
/*    */ import java.awt.Font;
/*    */ import java.awt.GridLayout;
/*    */ import javax.swing.BorderFactory;
/*    */ import javax.swing.JPanel;
/*    */ import javax.swing.JTextField;
/*    */ import javax.swing.border.TitledBorder;
/*    */ 
/*    */ public class PanelGanador extends JPanel
/*    */ {
/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
/*    */   private JTextField txtGanador;
/*    */ 
/*    */   public PanelGanador()
/*    */   {
/* 30 */     setLayout(new GridLayout());
/*    */ 
/* 32 */     TitledBorder borde = BorderFactory.createTitledBorder("Ganador");
/* 33 */     borde.setTitleColor(Color.BLUE);
/* 34 */     borde.setTitleFont(new Font("Arial", 1, 12));
/* 35 */     borde.setTitleJustification(2);
/* 36 */     borde.setBorder(BorderFactory.createEmptyBorder());
/* 37 */     setBorder(borde);
/*    */ 
/* 40 */     this.txtGanador = new JTextField("");
/* 41 */     this.txtGanador.setEditable(false);
/* 42 */     add(this.txtGanador);
/*    */   }
/*    */ 
/*    */   public void definirGanador(String nombre)
/*    */   {
/* 49 */     this.txtGanador.setEditable(true);
/* 50 */     this.txtGanador.setText(nombre);
/* 51 */     this.txtGanador.setEditable(false);
/*    */   }
/*    */ }

/* Location:           C:\Users\Yank\Documents\APO\Rummy\bin\
 * Qualified Name:     my.rummyInterface.PanelGanador
 * JD-Core Version:    0.6.0
 */